package com.yunduansing.demo.mapper;

import com.yunduansing.demo.entity.ButtonEntity;

import org.apache.ibatis.annotations.Delete;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yunduansing
 * @since 2020-05-24
 */
public interface ButtonMapper extends BaseMapper<ButtonEntity> {
    @Delete("delete from sys_button where menu_id=#{menuId}")
    public boolean deleteByMenuId(int menuId);
}
